package io.kimmking.dubbo.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.kimmking.dubbo.common.entity.CharRoomMessage;

public interface CharRoomMessageService extends IService<CharRoomMessage> {

    /**
     * 将聊天消息进行发送
     * @param charRoomMessage
     * @param topic
     * @return
     */
    boolean sendMessage(final String topic, final CharRoomMessage charRoomMessage);

}
